﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddEditOffer.ascx.cs" Inherits="AddEditOffer" %>
<%@ Register Src="~/Modules/OfferManager/Controls/ImageUploader.ascx" TagName="ImgUpload" TagPrefix="PUC" %>

<strong>Новый объект</strong>
<table class="offer_Table">
    <tr>
        <td>Тип недвижимости</td>
        <td>
            <asp:DropDownList ID="ddl_ObjectType" runat="server" />
        </td>
    </tr>
    <tr>
        <td>Страна</td>
        <td>
            <asp:DropDownList ID="ddl_Countrys" runat="server" />
        </td>
    </tr>
    <tr>
        <td>Город</td>
        <td>
            <asp:TextBox ID="tb_City" runat="server" />
        </td>
    </tr>
    <tr>
        <td>Адрес</td>
        <td>
            <asp:TextBox ID="tb_Adress" runat="server" />
        </td>
    </tr> 
    <tr>
        <td>Описание</td>
        <td>
            <asp:TextBox ID="tb_Description" Width="400" TextMode="MultiLine" Rows="7" runat="server" />
        </td>
    </tr>  
    <tr>
        <td>Кол. Комнат</td>
        <td>
            <asp:TextBox ID="tb_Rooms" runat="server" />
        </td>
    </tr>          
    <tr>
        <td>Налог на землю</td>
        <td>
            <asp:TextBox ID="tb_GroundTax" runat="server" />
        </td>
    </tr>    
    <tr>
        <td>Цена</td>
        <td>
            <asp:TextBox ID="tb_Price" runat="server" />
        </td>
    </tr>
    <tr>
        <td>Налог</td>
        <td>
            <asp:TextBox ID="tb_Tax" Width="300" runat="server" />
            <asp:DropDownList ID="ddl_TaxPeriod" Width="95" runat="server">
                <asp:ListItem Text="В месяц" Value="1" />
                <asp:ListItem Text="В триместр" Value="3" />
                <asp:ListItem Text="В год" Value="12" />
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>Этаж/Этажность</td>
        <td>
            <asp:TextBox ID="td_Floor" Width="195" runat="server" />
            <asp:TextBox ID="td_Floors" Width="195" runat="server" />
        </td>
    </tr>
    <tr>
        <td>Фотографии</td>
        <td>
            <PUC:ImgUpload ID="ImgUpload1" runat="server" />
        </td>
    </tr>
    <tr>
        <td>Площадь м<sup>2</sup></td>
        <td>
            <asp:TextBox id="tb_SquareTotal" Width="130" Text="Общая" runat="server" />
            <asp:TextBox id="tb_SquareLive" Width="130" Text="Жилая" runat="server" />
            <asp:TextBox id="tb_SquareKit" Width="130" Text="Кухня" runat="server" />
        </td>
    </tr>
    <tr>
        <td>Площадь участка</td>
        <td>
            <asp:TextBox id="tb_AreaSquare" runat="server" />
        </td>
    </tr>
    <tr>
        <td>Балконы</td>
        <td>
            <asp:DropDownList ID="ddl_Balcons" runat="server">
                <asp:ListItem Text="Нет" Value="0" />
                <asp:ListItem Text="1" Value="1" />
                <asp:ListItem Text="2" Value="2" />
                <asp:ListItem Text="3" Value="3" />
                <asp:ListItem Text="4" Value="4" />
                <asp:ListItem Text="5" Value="5" />
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>WC</td>
        <td>
            <asp:DropDownList ID="ddl_Bathrooms" runat="server">
                <asp:ListItem Text="Нет" Value="0" />
                <asp:ListItem Text="1" Value="1" />
                <asp:ListItem Text="2" Value="2" />
                <asp:ListItem Text="3" Value="3" />
            </asp:DropDownList>
        </td>
    </tr>  
    <tr>
        <td>Спальни</td>
        <td>
            <asp:DropDownList ID="ddl_BedRoom" runat="server">
                <asp:ListItem Text="Нет" Value="0" />
                <asp:ListItem Text="1" Value="1" />
                <asp:ListItem Text="2" Value="2" />
                <asp:ListItem Text="3" Value="3" />
                <asp:ListItem Text="4" Value="4" />
                <asp:ListItem Text="5" Value="5" />
            </asp:DropDownList>
        </td>
    </tr>      
    <tr>
        <td>Кухня</td>
        <td>
            <asp:DropDownList ID="ddl_Kitchen" runat="server">
                <asp:ListItem Text="Нет" Value="0" />
                <asp:ListItem Text="1" Value="1" />
                <asp:ListItem Text="2" Value="2" />
                <asp:ListItem Text="3" Value="3" />
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>Контакты</td>
        <td>
            <asp:TextBox ID="tb_Contacts" Width="400" TextMode="MultiLine" Rows="7" runat="server" />
        </td>
    </tr>     
    <tr>
        <td>До моря</td>
        <td>
            <asp:TextBox ID="tb_ToSea" runat="server" />
        </td>
    </tr>
    <tr>
        <td>Прачечная</td>
        <td>
            <asp:CheckBox ID="chb_Laundry" runat="server" />
        </td>
    </tr>       
    <tr>
        <td>Склад</td>
        <td>
            <asp:CheckBox ID="chb_Storage" runat="server" />
        </td>
    </tr> 
    <tr>
        <td>Кондиционер</td>
        <td>
            <asp:CheckBox ID="chb_Condition" runat="server" />
        </td>
    </tr>      
    <tr>
        <td>Мебель</td>
        <td>
            <asp:CheckBox ID="chb_Farniture" runat="server" />
        </td>
    </tr>    
    <tr>
        <td>Отопление</td>
        <td>
            <asp:CheckBox ID="chb_Heating" runat="server" />
        </td>
    </tr>         
    <tr>
        <td>Парковка</td>
        <td>
            <asp:CheckBox ID="chb_Parking" runat="server" />
        </td>
    </tr>     
    <tr>
        <td>Вид на море</td>
        <td>
            <asp:CheckBox ID="chb_SeaPanarama" runat="server" />
        </td>
    </tr>     
    <tr>
        <td>Сад</td>
        <td>
            <asp:CheckBox ID="chb_Garden" runat="server" />
        </td>
    </tr>     
    <tr>
        <td>Барбекю</td>
        <td>
            <asp:CheckBox ID="chb_Barbeku" runat="server" />
        </td>
    </tr>  
    <tr>
        <td>Бассейн</td>
        <td>
            <asp:CheckBox ID="chb_Pool" runat="server" />
        </td>
    </tr>
    <tr>
        <td>Гостинная</td>
        <td>
            <asp:CheckBox ID="chb_Salon" runat="server" />
        </td>
    </tr>                 
    <tr>
        <td></td>
        <td>
            <asp:Button ID="btn_Add" runat="server" Text="Добавить" OnClick="AddObject" />
        </td>
    </tr>
        
</table>